package org.v2ray.rocket.proxy.support.user

import org.v2ray.rocket.proxy.support.base.mvi.MviState
import org.v2ray.rocket.proxy.support.network.model.UserInfoModel

data class UserState(
    val isLoading: Boolean = false,
    val isLoginByPassword: Boolean = true, // true: 密码登录, false: 验证码登录
    val phoneNumber: String = "",
    val password: String = "",
    val smsCode: String = "",
    val userInfo: UserInfoModel? = null,
    val isLoggedIn: Boolean = false
) : MviState